package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 物流溯源
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2030-02-14 10:54:19
 */
@TableName("wuliusuyuan")
public class WuliusuyuanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public WuliusuyuanEntity() {
		
	}
	
	public WuliusuyuanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 农产品编号
	 */
					
	private String chanpinbianhao;
	
	/**
	 * 农产品名称
	 */
					
	private String chanpinmingcheng;
	
	/**
	 * 农产品分类
	 */
					
	private String chanpinfenlei;
	
	/**
	 * 目的地
	 */
					
	private String mudedi;
	
	/**
	 * 运输工具
	 */
					
	private String yunshugongju;
	
	/**
	 * 运输数量
	 */
					
	private String yunshushuliang;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	/**
	 * 二维码
	 */
					
	private String erweima;
	
	/**
	 * 经手人
	 */
					
	private String jingshouren;
	
	/**
	 * 登记时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date dengjishijian;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：农产品编号
	 */
	public void setChanpinbianhao(String chanpinbianhao) {
		this.chanpinbianhao = chanpinbianhao;
	}
	/**
	 * 获取：农产品编号
	 */
	public String getChanpinbianhao() {
		return chanpinbianhao;
	}
	/**
	 * 设置：农产品名称
	 */
	public void setChanpinmingcheng(String chanpinmingcheng) {
		this.chanpinmingcheng = chanpinmingcheng;
	}
	/**
	 * 获取：农产品名称
	 */
	public String getChanpinmingcheng() {
		return chanpinmingcheng;
	}
	/**
	 * 设置：农产品分类
	 */
	public void setChanpinfenlei(String chanpinfenlei) {
		this.chanpinfenlei = chanpinfenlei;
	}
	/**
	 * 获取：农产品分类
	 */
	public String getChanpinfenlei() {
		return chanpinfenlei;
	}
	/**
	 * 设置：目的地
	 */
	public void setMudedi(String mudedi) {
		this.mudedi = mudedi;
	}
	/**
	 * 获取：目的地
	 */
	public String getMudedi() {
		return mudedi;
	}
	/**
	 * 设置：运输工具
	 */
	public void setYunshugongju(String yunshugongju) {
		this.yunshugongju = yunshugongju;
	}
	/**
	 * 获取：运输工具
	 */
	public String getYunshugongju() {
		return yunshugongju;
	}
	/**
	 * 设置：运输数量
	 */
	public void setYunshushuliang(String yunshushuliang) {
		this.yunshushuliang = yunshushuliang;
	}
	/**
	 * 获取：运输数量
	 */
	public String getYunshushuliang() {
		return yunshushuliang;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * 设置：二维码
	 */
	public void setErweima(String erweima) {
		this.erweima = erweima;
	}
	/**
	 * 获取：二维码
	 */
	public String getErweima() {
		return erweima;
	}
	/**
	 * 设置：经手人
	 */
	public void setJingshouren(String jingshouren) {
		this.jingshouren = jingshouren;
	}
	/**
	 * 获取：经手人
	 */
	public String getJingshouren() {
		return jingshouren;
	}
	/**
	 * 设置：登记时间
	 */
	public void setDengjishijian(Date dengjishijian) {
		this.dengjishijian = dengjishijian;
	}
	/**
	 * 获取：登记时间
	 */
	public Date getDengjishijian() {
		return dengjishijian;
	}

}
